package cate.common.table.d;


import cate.common.table.common.ParamSheet;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "特权")
public class GDPrivilege {

    @NoteField("情报任务高级特权——触发特权的刷新次数")
    public static int REWARD_TASK_ADVANCED_REFRESH_NUM;

    @NoteField("情报任务高级特权——触发后必出的任务分组")
    public static int REWARD_TASK_ADVANCED_GROUP;

    @NoteField("高级情报任务特权——触发特权的刷新次数")
    public static int REWARD_TASK_DELUX_REFRESH_NUM;

    @NoteField("高级情报任务特权——触发后必出的任务分组")
    public static int REWARD_TASK_DELUX_GROUP;

    @NoteField("超级情报任务特权——触发特权的刷新次数")
    public static int REWARD_TASK_SUPER_REFRESH_NUM;

    @NoteField("超级情报任务特权——触发后必出的任务分组")
    public static int REWARD_TASK_SUPER_GROUP;

    @NoteField("快速作战特权增加次数")
    public static int QUICK_FIGHT_ADD_BUY_TIMES;

    @NoteField("快速作战特权增加次数")
    public static int QUICK_FIGHT_ADD_FREE_TIMES;

    @NoteField("香料特权金币抽奖增加次数")
    public static int SPICE_ADD_TIMES;

    @NoteField("超级情报任务特权-情报等级升级数")
    public static int SUPER_ADVANCE_INFO_LEVEL;

    @NoteField("小经验特权增加倍数")
    public static double SMALL_EXP_ADD;

    @NoteField("命运之扉特权增加次数")
    public static int HERO_INSTANCE_BUY_TIMES;

    @NoteField("人民币支付")
    public static int TAKE_PRIVILEGE_BY_MONEY = 2;

    @NoteField("资源支付")
    public static int TAKE_PRIVILEGE_BY_RESOURCE = 1;

    @NoteClass("特权-特权类型")
    public static class Type {
        @NoteField("情报任务特权")
        public static final int REWARD_TASK_ADVANCED = 1;
        @NoteField("高级情报任务特权")
        public static final int SENIOR_REWARD_TASK_ADVANCED = 2;
        @NoteField("快速作战特权")
        public static final int QUICK_FIGHT = 3;
        @NoteField("许愿")
        public static final int WISH = 4;
        @NoteField("灵王祭祀特权")
        public static final int KING_SACRIFICE = 5;
        @NoteField("农场特权")
        public static final int FARM = 6;
    }

    public static void initailize(ParamSheet paramSheet) {
        REWARD_TASK_ADVANCED_REFRESH_NUM = GDParamTool.getInt(paramSheet, 120003, 2);
        REWARD_TASK_ADVANCED_GROUP = GDParamTool.getInt(paramSheet, 120007, 4);
        REWARD_TASK_DELUX_REFRESH_NUM = GDParamTool.getInt(paramSheet, 120004, 3);
        REWARD_TASK_DELUX_GROUP = GDParamTool.getInt(paramSheet, 120008, 5);
        QUICK_FIGHT_ADD_BUY_TIMES = GDParamTool.getInt(paramSheet, 120005, 2);
        QUICK_FIGHT_ADD_FREE_TIMES = GDParamTool.getInt(paramSheet, 120009, 11);
        SPICE_ADD_TIMES = GDParamTool.getInt(paramSheet, 120006, 50);
        REWARD_TASK_SUPER_REFRESH_NUM = GDParamTool.getInt(paramSheet, 120012, 1);
        REWARD_TASK_SUPER_GROUP = GDParamTool.getInt(paramSheet, 120011, 6);
        SUPER_ADVANCE_INFO_LEVEL = GDParamTool.getInt(paramSheet, 120013, 10);
        HERO_INSTANCE_BUY_TIMES = GDParamTool.getInt(paramSheet, 120015, 2);
        SMALL_EXP_ADD = GDParamTool.getDouble(paramSheet, 150001, 100);
    }
}
